package design_pattern.momento.Test2;

/**
 * Created by WeiDingKuo on 2017/10/27 14:56
 */
public class CareTaker {
    private MomentoIF momentoIF;

    public void saveMomento(MomentoIF momentoIF) {
        this.momentoIF = momentoIF;
    }

    public MomentoIF retrieveMomento() {
        return this.momentoIF;
    }
}
